package com.flowable.delegate;

import lombok.extern.slf4j.Slf4j;
import org.flowable.engine.delegate.DelegateExecution;
import org.flowable.engine.delegate.JavaDelegate;

import java.time.LocalDateTime;

/**
 * Java 委托/代理类
 */
@Slf4j
public class JavaDelegateFirst implements JavaDelegate {
    @Override
    public void execute(DelegateExecution delegateExecution) {
        log.info("execution time: {}", LocalDateTime.now());
    }
}
